﻿// Decompiled with JetBrains decompiler
// Type: Netick.Interpolation
// Assembly: Netick, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 6726ECA1-C773-4CF7-8952-E81B30D93B52
// Assembly location: D:\WorkSpaceDemo\UPM\NetickForUnity\Netick\Runtime\Netick.dll
// XML documentation location: D:\WorkSpaceDemo\UPM\NetickForUnity\Netick\Runtime\Netick.xml

#nullable disable
namespace Netick;

/// <summary>
/// A class representing an abstract interpolation interface, which is implemented by <see cref="T:Netick.RemoteInterpolation" /> and <see cref="T:Netick.LocalInterpolation" />
/// </summary>
public abstract class Interpolation
{
  public NetickAllocator FromSnapshot;
  public NetickAllocator ToSnapshot;

  internal NetickEngine Engine { get; }

  public abstract Tick From { get; }

  public abstract Tick To { get; }

  public abstract bool HasSnapshots { get; }

  public abstract float Alpha { get; }

  public abstract float Time { get; }

  internal Interpolation(NetickEngine engine) => this.Engine = engine;
}
